﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPF.Core.Dtos
{
    public class BillModel : BaseModel
    {
        /// <summary>
        /// 账单名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 账单明细
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// 账单金额
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 账单类型 0:收入  1:支出
        /// </summary>
        public int Type { get; set; }
    }

    public class BillPagingInfo : PageingInfo
    {
        private string name = "";

        public string Name
        {
            get { return name; }
            set { name = value; RaisePropertyChanged(); }
        }
    }
}
